EmbedPress\Gutenberg\FallbackHandler A

Total Complexity 52
Dependencies 0
Dependents 0
Total lines 298
Lines of code 159
Logical lines of code 85
Comment lines 71
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
validate_and_fix_attributes()
S
53 7 22
generate_fallback_content()
S
58 5 15
is_fallback_needed()
S
60 5 13
is_invalid_content()
S
56 4 19
handle_block_fallback()
S
65 4 9
handle_block_data_fallback()
S
63 4 10
wrap_fallback_content()
S
66 4 7
log_fallback_usage()
S
66 4 8
generate_error_fallback()
S
59 3 13
fix_url()
S
65 3 9
validate_dimension()
S
70 3 6
get_instance()
S
71 2 6
generate_embed_from_url()
S
70 2 7
get_default_attributes()
S
63 1 11
__construct()
S
74 1 4